package com.bykj.property.model;

import com.baomidou.mybatisplus.annotation.TableField;
    import com.baomidou.mybatisplus.annotation.TableName;
    import com.baomidou.mybatisplus.annotation.IdType;
    import java.sql.Timestamp;
    import com.baomidou.mybatisplus.annotation.TableId;
    import java.io.Serializable;
    import io.swagger.annotations.ApiModel;
    import io.swagger.annotations.ApiModelProperty;
import com.bykj.property.model.PmVillage;
import com.bykj.property.model.PmUnit;
    import lombok.Data;
    import lombok.EqualsAndHashCode;
    import lombok.experimental.Accessors;
/**
* <p>
    * 业主信息表
    * </p>
*
* @author liangyiming
* @since 2019-06-20
*/
    @Data
        @EqualsAndHashCode(callSuper = false)
    @Accessors(chain = true)
    @TableName("pm_proprietor")
    @ApiModel(value="PmProprietor对象", description="业主信息表")
    public class PmProprietor implements Serializable {


private static final long serialVersionUID = 1L;
            @TableId(value = "pm_proprietor_id", type = IdType.AUTO)
    private Long pmProprietorId;
            @ApiModelProperty(value = "小区id（外键）")
    private Long pmVillageId;
        /**
        *小区id（外键）关联属性
        */
        @TableField(exist = false)
        private PmVillage pmVillage;
            @ApiModelProperty(value = "单元id（外键）")
    private Long pmUnitId;
        /**
        *单元id（外键）关联属性
        */
        @TableField(exist = false)
        private PmUnit pmUnit;
            @ApiModelProperty(value = "业主名")
    private String propName;
            @ApiModelProperty(value = "手机号")
    private String phone;
            @ApiModelProperty(value = "门牌号")
    private String doorNumber;
            @ApiModelProperty(value = "房屋面积")
    private Long houseArea;
            @ApiModelProperty(value = "户型")
    private String houseType;
            @ApiModelProperty(value = "人口")
    private String personNumber;
            @ApiModelProperty(value = "是否为住户")
    private String isHolder;
            @ApiModelProperty(value = "车牌号")
    private String carsNumber;

    private Timestamp createdTime;
    private Timestamp updateTime;

}
